package com.guanji.learn.osss3springboottest.request;

import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.lang.Assert;
import lombok.Data;

import java.util.List;

@Data
public class OSSDownloadZipRequest {

    private List<String> fileNames;

    public void check() {
        Assert.isTrue(CollectionUtil.isNotEmpty(fileNames),"不存在需要下载的文件路径");
    }

}
